package com.jzhao.gper.observer;

import com.google.common.eventbus.Subscribe;

public class Teacher {

    String name;

    public Teacher(String name) {
        this.name = name;
    }

    @Subscribe
    public void receiveQuestion(Question question) {
        System.out.println(name + "老师收到提问:" + question.toString());
    }
}
